package com.ios.dao;

import com.ios.entity.QueryLocation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QueryLocationMapper {
    /**
    *@Author:WenTao
    *@Description:增加一条查询记录
    *@Date:19:39 2018/7/22
    */
    int insert (QueryLocation queryLocation);

    /**
    *@Author:WenTao
    *@Description:根据残疾人用户查找记录
    *@Date:19:40 2018/7/22
    */
    List<QueryLocation> selectByDisabler (@Param("disablerId") int disablerId,@Param("status") int status);

    /**
    *@Author:WenTao
    *@Description:根据监护人用户查找记录
    *@Date:19:41 2018/7/22
    */
    List<QueryLocation> selectByRelative (@Param("relativeId") int relativeId,@Param("status") int status);
}
